package cn.edu.scau.cmi.shishuai.exercise5;

public class People2 {
	int leg, hand;
	String name;
	
	People2(String s){
		name = s;
		this.init();
	}
	
	void init() {
		leg = 2;
		hand = 2;
		System.out.println(name + "有" + hand + "只手" + leg +"条腿");
	}
	
	public static void main(String[] args) {
		People2 boshi = new People2("布什");

	}

}
